package com.cloud.ds01.controller;



import com.cloud.ds01.entity.User1Entity;
import com.cloud.ds01.mapper.User1Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class User1Service {
    @Autowired
    private User1Mapper user1Mapper;

    @RequestMapping("/getBy1UserList")
    public List<User1Entity> getBy1UserList() {
        return user1Mapper.getByUserList();
    }
}